<template>
  <n-card
    ><n-pagination
      v-model:page="page"
      :page-count="Math.ceil(count / 10)"
      show-quick-jumper
    >
      <template #goto> 跳转至 </template>
    </n-pagination></n-card
  >
  <br />
  <n-grid :cols="1" y-gap="8">
    <n-gi v-for="essay of essaylist" :key="essay.id"
      ><essay-card :essay="essay"
    /></n-gi>
  </n-grid>
</template>

<script>
export default {
  props: {
    essaylist: {
      type: Object,
      required: true,
    },
  },
  setup() {},
};
</script>

<style>
</style>